
def getSex(sex_type,sex_value):
    _checked = ''
    if sex_type=="男":
        if sex_value in ['M', '男']:
            _checked = 'checked'
    elif sex_type=="女":
        if sex_value in ['F', '女']:
            _checked = 'checked'
    return _checked